Sunan at-Tirmithiy كتاب العلم باب ما جاء فى فضل الفقه على العبادة

حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الأَعْلَى الصَّنْعَانِىُّ حَدَّثَنَا سَلَمَةُ بْنُ رَجَاءٍ حَدَّثَنَا الْوَلِيدُ بْنُ جَمِيلٍ حَدَّثَنَا الْقَاسِمُ أَبُو عَبْدِ الرَّحْمَنِ عَنْ أَبِى أُمَامَةَ الْبَاهِلِىِّ قَالَ ذُكِرَ لِرَسُولِ اللَّهِ صلى الله عليه وسلم رَجُلاَنِ أَحَدُهُمَا عَابِدٌ وَالآخَرُ عَالِمٌ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَضْلُ الْعَالِمِ عَلَى الْعَابِدِ كَفَضْلِى عَلَى أَدْنَاكُمْ. ثُمَّ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِنَّ اللَّهَ وَمَلاَئِكَتَهُ وَأَهْلَ السَّمَوَاتِ وَالأَرْضِ حَتَّى النَّمْلَةَ فِى جُحْرِهَا وَحَتَّى الْحُوتَ لَيُصَلُّونَ عَلَى مُعَلِّمِ النَّاسِ الْخَيْر. قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ. قَالَ سَمِعْتُ أَبَا عَمَّارٍ الْحُسَيْنَ بْنَ حُرَيْثٍ الْخُزَاعِىَّ يَقُولُ سَمِعْتُ الْفُضَيْلَ بْنَ عِيَاضٍ يَقُولُ عَالِمٌ عَامِلٌ مُعَلِّمٌ يُدْعَى كَبِيرًا فِى مَلَكُوتِ السَّمَوَاتِ.
Two men were mentioned to the Messenger of God, peace and blessings of God be upon him, one was a [dedicated] worshiper and the other a [dedicated] scholar (1). The Messenger of God, peace and blessings of God be upon him, said, "The preeminence of a scholar over a worshiper is similar to my preeminence over the most inferior of you" Then the Messenger of God, peace and blessings of God be upon him, added, " Indeed God, the angels, the inhabitants of the heavens and the earth, even ants in their underground lairs, and even whales bless the person who teaches people the good ." Abū-ʻAmmār al-Ḥusayn Ibn-Ḥurayth, al-Khuzāʻī also heard al-Fuḍayl Ibn-ʻIyāḍ say, "A practicing (worshipping) and teaching scholar is described as 'great' in the Kingdom of Heaven." Click on ḥadīth to read more